#! /usr/bin/env python
#coding=utf-8
from flask.ext.principal import RoleNeed, Permission

root = Permission(RoleNeed('root'))
admin = Permission(RoleNeed('admin'))
operator = Permission(RoleNeed('operator'))
auth = Permission(RoleNeed('authenticated'))

# this is assigned when you want to block a permission to all
# never assign this role to anyone !
null = Permission(RoleNeed('null'))